//
//  M4ConfigDataManager.swift
//  M4
//
//  Created by YuChuang on 2024/8/9.
//

import Foundation

class M4ConfigDataManager: NSObject {
    
    static let m4ConfigShare = M4ConfigDataManager()
    
    var m4appAgreement: String = ""
    
    var m4loanAgreement: String = ""
    
    var m4servicePhone: String = ""
    
    var m4adress: String = ""
    
    var m4logoUrl: String = ""
    
    var m4email: String = ""
    
    var m4companyInfo: String = ""
    
    var whatsAppStart: Bool = false

    
    
    var M4StarAlertTime: Int {
        get {
            return UserDefaults.standard.integer(forKey: "M4StarAlertTime")
        }
        set {
            let userDefaults = UserDefaults.standard
            userDefaults.set(newValue, forKey: "M4StarAlertTime")
            userDefaults.synchronize()
        }
    }
    
}
